-- GENERATED SPELL FOR [Stormcrest Hatchling] --


function spell0_29808(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(55079,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29808', 616, 1)
end

function Sorts_29808(pUnit, Event)
local choix_sorts_29808 = math.random(0, 0)
if choix_sorts_29808 == 0 then
pUnit:RegisterEvent('spell0_29808', 1, 1)
end
end

function mob29808_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29808', math.random(1500, 3000), 1)
end

function mob29808_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29808_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29808_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29808, 1, 'mob29808_Action')
RegisterUnitEvent(29808, 2, 'mob29808_Leave')
RegisterUnitEvent(29808, 3, 'mob29808_Kill')
RegisterUnitEvent(29808, 4, 'mob29808_Die')
